//
//  NBImageViewController.m
//  NBImageView
//
//  Created by 廖京辉 on 15/12/28.
//  Copyright © 2015年 廖京辉. All rights reserved.
//

#import "NBImageViewController.h"
#import "NBImageBrowser.h"

@interface NBImageViewController ()

@end

@implementation NBImageViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    
    UITapGestureRecognizer *gesture = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(checkImage)];
    self.image.userInteractionEnabled = YES;
    [self.image addGestureRecognizer:gesture];
}



-(void)checkImage{
    [NBImageBrowser showImage:self.image];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
